<template>
  <div class="report-group-view-wrap">
    <div class="report-component-header-wrap">
      <div class="header-title">{{ info.name }}</div>
    </div>
    <div>
      <div class="empty-page">
        <img src="../../../../../assets/images/empty-page.png" /><b
          >{{ info.length }}个</b
        ><span>报表组件总数</span>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "groupView",
  props: {
    info: {
      type: Object,
      default: () => ({
        name: "",
        length: 0,
      }),
    },
  },
};
</script>

<style scoped lang="scss">
.report-group-view-wrap {
  display: flex;
  flex-direction: column;
  height: 100%;

  .report-component-header-wrap {
    height: 50px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #eee;
    padding-bottom: 18px;

    .header-title {
      font-size: 18px;
    }
  }
  .empty-page {
    width: 246px;
    margin: 180px auto;
    display: flex;
    justify-content: center;
    flex-direction: column;
    span {
      margin-top: 10px;
      font-size: 14px;
      text-align: center;
    }
    b {
      margin-top: 20px;
      font-size: 24px;
      text-align: center;
    }
  }
}
</style>
